package org.goyo.main.services.storage;

import java.util.List;

import org.goyo.common.exception.DBException;
import org.goyo.common.exception.ServiceException;
import org.goyo.common.utils.Pager;
import org.goyo.main.domain.entity.storage.SaleOutStorage;
import org.goyo.main.domain.entity.storage.SaleOutStorageEntry;
import org.goyo.main.domain.entity.system.SysUser;

public interface ISaleOutStorageService {
	
	public Pager<SaleOutStorage> findByCondition(String where,Pager pager,Object[] groupUuids) throws DBException,ServiceException; 

	public SaleOutStorage saveOrUpdateInfo(SaleOutStorage info,Object[] uuids,SysUser user) throws DBException,ServiceException;
	
	public List<SaleOutStorageEntry> findByParentId(String parentId) throws DBException,ServiceException;
	
	public void delByUuids(Object[] uuids) throws DBException,ServiceException;
	
	public SaleOutStorage submitByUuids(Object[] uuids,SysUser user) throws DBException,ServiceException;
	
	public SaleOutStorage auditByUuids(Object[] uuids,SysUser user) throws DBException,ServiceException;

	public SaleOutStorage unAuditByUuids(Object[] uuids,SysUser user) throws DBException,ServiceException;

	public SaleOutStorage findByUuuid(String uuid)  throws DBException,ServiceException;

}
